package cn.liontalk.api;

import cn.liontalk.service.FeignHystrixService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author ZhouZhe
 * @version 1.0
 * @description 测试Controller
 * @date 2018-12-02 17:13
 **/
@RestController
public class FeignHystrixController {


    @Autowired
    private FeignHystrixService feignHystrixService;


    @GetMapping(value = "/hi")
    public String testFeignHystrixService(){
        return feignHystrixService.testFeignHystrixService();
    }


}
